package spec.zhangyuehua.$04.example.e_4_15;

import sun.java2d.pipe.SpanShapeRenderer;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by yue on 2017/10/25.
 */
public class DateTest {
    public static void main(String[] args) {
        SimpleDateFormat sf=new SimpleDateFormat("yyyy"+"年"+"MM"+"月"+"dd"+"日"+"HH:mm:ss");
        Date d=new Date();
        String DateString=sf.format(d);
        System.out.println(DateString);
    }
}
